<div class="easyui-layout" data-options="fit: true">
	
	<!-- 中 -->
	<div data-options="region: 'center', border:false" style="padding: 10px;">
		<form id="form_weixinMenu" method="post">
			<input type="hidden" name="id">
			<table class="table-form">
				<tr>
					<th>菜单节点：</th>
					<td><input id="combotree_weixinMenu" name="parent" style="width:350px" ></td>
				</tr>
				<tr>
					<th>菜单类型：</th>
					<td>
						<select id="combobox_type" class="easyui-combobox" name="type" style="width:350px;" data-options="required:true, editable: false, panelHeight:'auto'">
							<option value="">====请选择====</option>
			                <option value="click">点击推事件</option>
							<option value="view">跳转URL</option>
							<option value="scancode_push">扫码推事件</option>
							<option value="scancode_waitmsg">扫码推事件且弹出“消息接收中”</option>
							<option value="pic_sysphoto">弹出系统拍照</option>
							<option value="pic_photo_or_album">弹出拍照或者相册发图</option>
							<option value="pic_weixin">弹出微信相册发图器</option>
							<option value="location_select">弹出地理位置选择器</option>
							<option value="media_id">下发消息</option>
							<option value="view_limited">跳转图文消息URL</option>
			            </select>
					</td>
				</tr>
				<tr>
					<th>菜单名称：</th>
					<td><input class="easyui-validatebox tb" name="name" style="width:350px" data-options=""></td>
				</tr>
				<tr>
					<th>模板类型：</th>
					<td>
						<select id="templateType" class="easyui-combobox" name="templateType" style="width:350px;" data-options="required:true, editable: false, panelHeight:'auto'">
			                <option value="text">文本消息</option>
			                <option value="article_single">单图文消息</option>
			                <option value="article_group">多图文消息</option>
			            </select>
					</td>
				</tr>
				<tr>
					<th>模板名称：</th>
					<td>
						<input id="templateId" class="easyui-combobox" name="templateId" style="width:350px;" data-options="valueField: 'id', textField: 'title', editable: false, panelHeight:'auto'">
					</td>
				</tr>
				<tr>
					<th>VIEW URL：</th>
					<td><input id="view_url" class="easyui-validatebox tb" name="url" style="width:350px" data-options=""></td>
				</tr>
				<tr>
					<th>永久素材：</th>
					<td><input class="easyui-validatebox tb" name="mediaId" style="width:350px" data-options=""></td>
				</tr>
				<tr>
					<th>小程序的appid：</th>
					<td><input class="easyui-validatebox tb" name="appid" style="width:350px" data-options=""></td>
				</tr>
				<tr>
					<th>小程序的页面路径：</th>
					<td><input class="easyui-validatebox tb" name="pagepath" style="width:350px" data-options=""></td>
				</tr>
				<tr>
					<th>排序：</th>
					<td><input class="easyui-numberspinner" name="orders" style="width:350px" value="1" data-options="min: 1"></td>
				</tr>
				<tr>
					<th>菜单状态：</th>
					<td>
						<select class="easyui-combobox" name="status" style="width:100px;" data-options="required:true, editable: false, panelHeight:'auto'">
			                <option value="1">正常</option>
			                <option value="2">禁用</option>
			            </select>
					</td>
				</tr>
				<tr>
					<th>备注信息：</th>
					<td colspan="3"><textarea name="remarks" class="tb" rows="5" cols="5"></textarea></td>
				</tr>
			</table>
		</form>
	</div>
	
	<!-- 下 -->
	<div data-options="region: 'south', collapsed: false, border: true" style="background: #eee; text-align: right; padding: 5px; border-left: 0px; border-right: 0px; border-bottom: 0px; overflow: hidden;">
		<a id="submit" href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" style="width:80px">提交</a>
		<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" style="width:80px" onclick="window.app.easyui.closeCurrentWindow();">关闭</a>
	</div>

</div>

